package com.sunrate.investingquote.service.router.comparator.test;

import org.springframework.stereotype.Component;

/**
 * @author yyh
 * @description:
 * @date 2023/06/29/ 17:05
 */
@Component
public class ComparatorContext {

//    @Autowired
//    private List<RouterComparator> routerComparators;
//
////    <Comparator<RouterSortContext>,Map<String, ChannelPriorityConfig>>
//
//    public  <T> Comparator<T> create(Map<String, ChannelPriorityConfig> config) {
//        Comparator<T> comparator = Comparator.comparing(demo -> 1);
//        List<Comparator> collect = routerComparators.stream().map(creator -> creator.createComparator(config)).collect(Collectors.toList());
//        return comparator;
//    }
}
